import request from '@/utils/request'

// 查询采购基础副本列表
export function listPurchaseBasicsDwdCopy(query) {
  return request({
    url: '/purchase/PurchaseBasicsDwdCopy/list',
    method: 'get',
    params: query
  })
}

// 查询采购基础副本详细
export function getPurchaseBasicsDwdCopy(id) {
  return request({
    url: '/purchase/PurchaseBasicsDwdCopy/' + id,
    method: 'get'
  })
}

// 新增采购基础副本
export function addPurchaseBasicsDwdCopy(data) {
  return request({
    url: '/purchase/PurchaseBasicsDwdCopy',
    method: 'post',
    data: data
  })
}

// 修改采购基础副本
export function updatePurchaseBasicsDwdCopy(data) {
  return request({
    url: '/purchase/PurchaseBasicsDwdCopy',
    method: 'put',
    data: data
  })
}

// 删除采购基础副本
export function delPurchaseBasicsDwdCopy(id) {
  return request({
    url: '/purchase/PurchaseBasicsDwdCopy/' + id,
    method: 'delete'
  })
}
